package com.java.common.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Permission entity. @author MyEclipse Persistence Tools
 */

public class Permission implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7090343499480080272L;
	private String permissionId;
	private String perValue;
	private Set<JobPermission> jobPermissions = new HashSet<JobPermission>(0);

	// Constructors

	/** default constructor */
	public Permission() {
	}

	/** minimal constructor */
	public Permission(String permissionId) {
		this.permissionId = permissionId;
	}

	/** full constructor */
	public Permission(String permissionId, String perValue, Set<JobPermission> jobPermissions) {
		this.permissionId = permissionId;
		this.perValue = perValue;
		this.jobPermissions = jobPermissions;
	}

	// Property accessors

	public String getPermissionId() {
		return this.permissionId;
	}

	public void setPermissionId(String permissionId) {
		this.permissionId = permissionId;
	}

	public String getPerValue() {
		return this.perValue;
	}

	public void setPerValue(String perValue) {
		this.perValue = perValue;
	}

	public Set<JobPermission> getJobPermissions() {
		return this.jobPermissions;
	}

	public void setJobPermissions(Set<JobPermission> jobPermissions) {
		this.jobPermissions = jobPermissions;
	}

}